Skip to content

SIMO Documents

Array of all logical 0 (false)

false

  • It returns a logical 0.

false(n)

  • n should be non-negative integer.
  • It returns an n-by-n matrix containing all logical 0.
  • If n is not positive, it returns an empty array.
  • If n is not integer, n would be rounded towards zero.
  • It does not accept ±NaN, or ±inf as its argument.

false(s1, s2, ..., sn)

  • s1, s2, ..., sn should be non-negative integers.
  • It returns an array of size [s1, s2, ..., sn] that contains all logical 0.
  • If any of s1, s2, ..., sn is not positive, it returns an empty matrix.
  • Non-integer s1, s2, ..., sn would be rounded towards zero.

false(sizeVec)

  • It returns an array of size specified by the vector sizeVec. The array contains all logical 0.
  • If any element of sizeVec is not positive, it returns an empty matrix. Non-integer element of sizeVec would be rounded towards zero.