MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / __init__

Method __init__

linear_algebra_python/src/lib.py:208–215  ·  view source on GitHub ↗

simple constructor for initialzes the matrix with components.

(self,matrix,w,h)

Source from the content-addressed store, hash-verified

206 operator - _ implements the matrix-subtraction
207 """
208 def __init__(self,matrix,w,h):
209 """
210 simple constructor for initialzes
211 the matrix with components.
212 """
213 self.__matrix = matrix
214 self.__width = w
215 self.__height = h
216 def __str__(self):
217 """
218 returns a string representation of this

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected