isslopebiasscaled
numerictype
オブジェクトの勾配とバイアスのスケーリングが自明でないかどうかを判別
説明
tf = isslopebiasscaled(
は T
)numerictype
T
の勾配とバイアスのスケーリングが自明でない場合に 1
(true
) を返します。それ以外の場合は 0
(false
) を返します。勾配が 2 の整数の累乗で、バイアスが 0 の場合、勾配とバイアス スケーリングは自明です。
例
numerictype
オブジェクトの勾配とバイアスのスケーリングが自明でないかどうかを判別
numerictype
オブジェクトを作成し、その勾配とバイアスのスケーリングが自明でないかどうかを判別します。
T1 = numerictype
T1 = DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 16 FractionLength: 15
tf = isslopebiasscaled(T1)
tf = logical
0
T2 = numerictype('DataTypeMode',... 'Fixed-point: slope and bias scaling',... 'WordLength',32,... 'Slope',2^-2,... 'Bias',4)
T2 = DataTypeMode: Fixed-point: slope and bias scaling Signedness: Signed WordLength: 32 Slope: 0.25 Bias: 4
tf = isslopebiasscaled(T2)
tf = logical
1
T3 = numerictype('DataTypeMode',... 'Fixed-point: slope and bias scaling',... 'WordLength',32,... 'Slope',2^2,... 'Bias',0)
T3 = DataTypeMode: Fixed-point: slope and bias scaling Signedness: Signed WordLength: 32 Slope: 2^2 Bias: 0
tf = isslopebiasscaled(T3)
tf = logical
0
入力引数
T
— 入力 numerictype
オブジェクト
スカラー
入力 numerictype
オブジェクト。スカラーとして指定します。
バージョン履歴
R2008a で導入
参考
isboolean
| isdouble
| isfixed
| isfloat
| isscaleddouble
| isscaledtype
| issingle
| numerictype
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)