Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Aide de Scilab >> Fonctions Elémentaires > IsAScalar

IsAScalar

check if a variable is a scalar. This function is obsolete.

Calling Sequence

t=IsAScalar(x)

Arguments

x

vector or matrix

t

a boolean

Description

IsAScalar(x) returns true if x is a scalar (if size(x) is 1 and type(x,1) is 1 too).

This function is obsolete.
It is better to use isscalar instead of IsAScalar.

Examples

IsAScalar(ones(10,10))
IsAScalar(1)
IsAScalar("s")

History

VersionDescription
5.5.0 Function tagged as obsolete. Will be removed in 5.5.1. Please use isscalar instead.
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 13:54:30 CEST 2014