eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Matrix2_2':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Matrix2_2


Inheritance:

   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

Description:


2x2 Matrix (2 dimensions).
Especially useful with the ArrayIndexing-Parser extension.


[instance variables:]

[class variables:]

copyright

COPYRIGHT (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.

Class protocol:

instance creation
o  identity
self identity

o  new
(comment from inherited method)
return an instance of myself without indexed variables


Instance protocol:

accessing
o  _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

o  _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
o  determinantByCofactors
Answer the determinant of this matrix.

queries
o  columns
the number of columns

o  rows
the number of rows



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:49:42 GMT