Method: Matrix.wildcard_zero
- Defined in:
- lib/y_support/abstract_algebra.rb
.wildcard_zero(r_count, c_count = r_count) ⇒ Object
Creates a matrix of prescribed dimensions filled with wildcard zeros.
229 230 231 |
# File 'lib/y_support/abstract_algebra.rb', line 229 def Matrix.wildcard_zero r_count, c_count=r_count build r_count, c_count do |r, c| WILDCARD_ZERO end end |