Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.0 - Português

Change language to:
English - Français - 日本語 - Русский

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

Ajuda do Scilab >> Funções Elementares > 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

VersãoDescrição
5.5.0 Function tagged as obsolete. Will be removed in 5.5.1. Please use isscalar instead.
Report an issue
<< size Funções Elementares & >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Fri Apr 11 14:18:11 CEST 2014