Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Scilab > types > typename

typename

変数の型に名前を付ける

呼出し手順

[types [ [,names]]=typename()

パラメータ

types

整数列ベクトル: 各定義済みのデータ型の型コード.

names

文字列の列ベクトル: 型コードを指す名前.

説明

関数および演算子のオーバーロードにおいて, データ型に関連付けられた汎用名を オーバーロード関数の名前を作成する際に指定できる できるようになります(オーバーローディング参照). typename は, ハードコードされたデータ型に関して この汎用名を処理する際に使用できます (tlist または mlistにコード化されたデータ型の 場合,汎用名は他の方法で定義されます, overloadingを参照ください).

typename は 定義済みのデータ型に関する情報を返します.

参照

  • type — 変数の型を返す
  • typeof — explicit type or overloading code of an object
  • overloading — 表示,関数および演算子オーバーロード機能
  • tlist — Scilab オブジェクトおよび型付のリスト定義.
  • mlist — Scilab オブジェクト, 型付リスト定義に向いた行列.
Report an issue
<< type types typeof >>

Copyright (c) 2022-2023 (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:
Tue Feb 25 08:53:18 CET 2020