CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<!--
4
5
Debugging.xml MatricesForHomalg package documentation Mohamed Barakat
6
7
Copyright (C) 2007-2009, Mohamed Barakat, RWTH-Aachen
8
9
-->
10
11
<Appendix Label="Debugging">
12
<Heading>Debugging &MatricesForHomalg;</Heading>
13
14
Beside the &GAP; builtin debugging facilities (&see;
15
<Ref Sect="Debugging and Profiling Facilities" BookName="Reference"/>) &MatricesForHomalg; provides two
16
ways to debug the computations.
17
18
<Section Label="SetAssertionLevel">
19
<Heading>Increase the assertion level</Heading>
20
21
&MatricesForHomalg; comes with numerous builtin assertion checks. They are
22
activated if the user increases the assertion level using <Br/><Br/>
23
24
<C>SetAssertionLevel</C>( <A>level</A> ); <Br/><Br/>
25
26
(&see; <Ref Sect="SetAssertionLevel" BookName="Reference"/>), where
27
<A>level</A> is one of the values below:
28
29
<Table Align="l|l">
30
<Row>
31
<Item><A>level</A></Item>
32
<Item>description</Item>
33
</Row>
34
<HorLine/>
35
<Row><Item></Item><Item></Item></Row>
36
<Row>
37
<Item>0</Item>
38
<Item>no assertion checks whatsoever</Item>
39
</Row>
40
<Row><Item></Item><Item></Item></Row>
41
<Row>
42
<Item>4</Item>
43
<Item>assertions about basic matrix operations are checked (&see;
44
Appendix <Ref Chap="Basic_Operations"/>)</Item>
45
</Row>
46
<Row>
47
<Item></Item>
48
<Item>(these are among the operations often delegated to external systems)</Item>
49
</Row>
50
<Row><Item></Item><Item></Item></Row>
51
<HorLine/>
52
</Table>
53
54
In particular, if &MatricesForHomalg; delegates matrix operations to an external
55
system then <C>SetAssertionLevel</C>( 4 ); can be used to let &MatricesForHomalg;
56
debug the external system. <Br/><Br/>
57
58
<#Include Label="asserts">
59
60
</Section>
61
62
<Section Label="using homalgMode">
63
<Heading><C>Using homalgMode</C></Heading>
64
65
<#Include Label="homalgMode">
66
67
</Section>
68
69
<!-- ############################################################ -->
70
71
</Appendix>
72
73
74