|
Class: Matrix2_2
Object
|
+--Collection
|
+--SequenceableCollection
|
+--AbstractMultidimensionalArray
|
+--AbstractMatrix
|
+--Matrix
|
+--SquareMatrix
|
+--Matrix2_2
- Package:
- stx:libbasic2
- Category:
- Collections-MultiDimensional
- Version:
- rev:
1.6
date: 2021/03/10 08:46:45
- user: cg
- file: Matrix2_2.st directory: libbasic2
- module: stx stc-classLibrary: libbasic2
2x2 Matrix (2 dimensions).
Especially useful with the ArrayIndexing-Parser extension.
[instance variables:]
[class variables:]
copyrightCOPYRIGHT (c) 2018 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
instance creation
-
identity
-
self identity
-
new
-
(comment from inherited method)
return an instance of myself without indexed variables
accessing
-
_at: index1 at: index2
-
this is a synthetic selector, generated by the compiler,
if a construct of the form expr[idx1][idx2] is parsed.
I.e.
foo[n][m]
generates
foo _at:n at:m
-
_at: index1 at: index2 put: value
-
this is a synthetic selector, generated by the compiler,
if a construct of the form expr[idx1][idx2] := val is parsed.
I.e.
foo[n][m] := val
generates
foo _at:n at:m put:val
matrix operations
-
determinantByCofactors
-
Answer the determinant of this matrix.
queries
-
columns
-
the number of columns
-
rows
-
the number of rows
|