Class: ExceptionForMatrix::ErrOperationNotDefined (Ruby 2.7.5)
Description: Class : ExceptionForMatrix::ErrOperationNotDefined - Ruby 2.7.5

### Home Classes Methods

### In Files

- matrix.rb

### Parent

StandardError

### Methods

- ::new

### Class/Module Index

Quicksearch

- ExceptionForMatrix
- ExceptionForMatrix::ErrDimensionMismatch
- ExceptionForMatrix::ErrNotRegular
- ExceptionForMatrix::ErrOperationNotDefined
- ExceptionForMatrix::ErrOperationNotImplemented
- Matrix
- Matrix::EigenvalueDecomposition
- Matrix::LUPDecomposition
- Vector
- Vector::ZeroVectorError

No matching classes.

# ExceptionForMatrix::ErrOperationNotDefined

### Public Class Methods

new(vals) click to toggle source

                   # File matrix.rb, line 39
    def initialize(vals)
      if vals.is_a?(Array)
        super("Operation(#{vals[0]}) can\\'t be defined: #{vals[1]} op #{vals[2]}")
      else
        super(vals)
      end
    end