Vocabulary

math.blas.matrices

Class description

The base class for all BLAS matrix types. Objects of this type should not be created directly; instead, instantiate one of the typed subclasses:

All of these subclasses share the same tuple layout:

See also

blas-vector-base

Definition

Methods

math.blas.matrices

Class description

The base class for all BLAS matrix types. Objects of this type should not be created directly; instead, instantiate one of the typed subclasses:

• | float-blas-matrix |

• | double-blas-matrix |

• | complex-float-blas-matrix |

• | complex-double-blas-matrix |

All of these subclasses share the same tuple layout:

• | underlying contains an alien pointer referencing or byte-array containing a packed, column-major array of float, double, float complex, or double complex values; |

• | ld indicates the distance, in elements, between matrix columns; |

• | rows and cols indicate the number of significant rows and columns in the matrix; |

• | and transpose, if set to a true value, indicates that the matrix should be treated as transposed relative to its in-memory representation. |

See also

blas-vector-base

Definition

Methods

USING: accessors alien.c-types alien.data combinators kernel

math math.blas.matrices math.blas.matrices.private

math.blas.vectors ;

math math.blas.matrices math.blas.matrices.private

math.blas.vectors ;

M: blas-matrix-base clone

[

[

{

[ underlying>> ]

[ ld>> ]

[ cols>> ]

[ element-type heap-size ]

} cleave * * memory>byte-array

] [

{ [ ld>> ] [ rows>> ] [ cols>> ] [ transpose>> ] }

cleave

] bi

] keep (blas-matrix-like) ;

[

[

{

[ underlying>> ]

[ ld>> ]

[ cols>> ]

[ element-type heap-size ]

} cleave * * memory>byte-array

] [

{ [ ld>> ] [ rows>> ] [ cols>> ] [ transpose>> ] }

cleave

] bi

] keep (blas-matrix-like) ;

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.100 x86.64 (2268, heads/master-8c50fe4a13, May 28 2024 15:10:18)