GOffice.QuadMatrix¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
data |
r/w |
||
m |
r/w |
||
n |
r/w |
Methods¶
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class GOffice.QuadMatrix¶
- classmethod back_solvel(R, b, allow_degenerate)¶
- Parameters:
R (
GOffice.QuadMatrixl
) – An upper triangular matrix.b (
GOffice.Quadl
) – Input vector.allow_degenerate (
bool
) – IfTrue
, then degenerate dimensions are ignored other than being given a zero result. A degenerate dimension is one whose diagonal entry is zero.
- Returns:
True
on error.This function solves the triangular system R*x=b.
- x:
Result vector.
- Return type:
(
bool
, x:GOffice.Quadl
)
- classmethod copy(B)¶
- Parameters:
B (
GOffice.QuadMatrix
) – Source matrix.- Returns:
Destination matrix.
- Return type:
Copies B to A.
- classmethod copyl(B)¶
- Parameters:
B (
GOffice.QuadMatrixl
) – Source matrix.- Returns:
Destination matrix.
- Return type:
Copies B to A.
- classmethod determinantl(A, res)¶
- Parameters:
A (
GOffice.QuadMatrixl
) –res (
GOffice.Quadl
) –
- classmethod dumpl(A, fmt)¶
- Parameters:
A (
GOffice.QuadMatrixl
) –fmt (
str
) –
- classmethod freel(A)¶
- Parameters:
A (
GOffice.QuadMatrixl
) –
- classmethod fwd_solvel(R, b, allow_degenerate)¶
- Parameters:
R (
GOffice.QuadMatrixl
) – An upper triangular matrix.b (
GOffice.Quadl
) – Input vector.allow_degenerate (
bool
) – IfTrue
, then degenerate dimensions are ignored other than being given a zero result. A degenerate dimension is one whose diagonal entry is zero.
- Returns:
True
on error.This function solves the triangular system RT*x=b.
- x:
Result vector.
- Return type:
(
bool
, x:GOffice.Quadl
)
- classmethod multiply(A, B)¶
- Parameters:
A (
GOffice.QuadMatrix
) – Source matrix.B (
GOffice.QuadMatrix
) – Source matrix.
- Returns:
Destination matrix.
- Return type:
Multiplies A*B and stores the result in C.
- classmethod multiplyl(A, B)¶
- Parameters:
A (
GOffice.QuadMatrixl
) – Source matrix.B (
GOffice.QuadMatrixl
) – Source matrix.
- Returns:
Destination matrix.
- Return type:
Multiplies A*B and stores the result in C.
- classmethod transpose(B)¶
- Parameters:
B (
GOffice.QuadMatrix
) – Source matrix.- Returns:
Destination matrix.
- Return type:
Transposes B into A.
- classmethod transposel(B)¶
- Parameters:
B (
GOffice.QuadMatrixl
) – Source matrix.- Returns:
Destination matrix.
- Return type:
Transposes B into A.
- back_solve(b, allow_degenerate)¶
- Parameters:
b (
GOffice.Quad
) – Input vector.allow_degenerate (
bool
) – IfTrue
, then degenerate dimensions are ignored other than being given a zero result. A degenerate dimension is one whose diagonal entry is zero.
- Returns:
True
on error.This function solves the triangular system R*x=b.
- x:
Result vector.
- Return type:
(
bool
, x:GOffice.Quad
)
- determinant(res)¶
- Parameters:
res (
GOffice.Quad
) –
- eigen_range()¶
- free()¶
- fwd_solve(b, allow_degenerate)¶
- Parameters:
b (
GOffice.Quad
) – Input vector.allow_degenerate (
bool
) – IfTrue
, then degenerate dimensions are ignored other than being given a zero result. A degenerate dimension is one whose diagonal entry is zero.
- Returns:
True
on error.This function solves the triangular system RT*x=b.
- x:
Result vector.
- Return type:
(
bool
, x:GOffice.Quad
)