るりまサーチ

最速Rubyリファレンスマニュアル検索!
18025件ヒット [101-200件を表示] (0.059秒)

別のキーワード

  1. _builtin *
  2. matrix *
  3. array *
  4. vector *
  5. bigdecimal *

ライブラリ

クラス

オブジェクト

キーワード

検索結果

<< < 1 2 3 4 ... > >>

Vector#*(other) -> Vector (18101.0)

self の各要素に数 other を乗じたベクトルを返します。

...ルを返します。

@param other self の各要素に掛ける Numeric オブジェクトを指定します。

//emlist[例][ruby]{
require 'matrix'
a = [1, 2, 3.5, 100]
v1 = Vector.elements(a)
p v1.*(2) # => Vector[2, 4, 7.0, 200]
p v1.*(-1.5) # => Vector[-1.5, -3.0, -5.25, -150.0]
//}...

Benchmark::Tms#*(x) -> Benchmark::Tms (18100.0)

self と x の乗算を計算します。

self と x の乗算を計算します。

@param x Benchmark::Tms のオブジェクトか Float に暗黙の変換ができるオブジェクトです。

@return 計算結果は新しい Benchmark::Tms オブジェクトです。

@see Benchmark::Tms#memberwise

BigDecimal#*(other) -> BigDecimal (18100.0)

積を計算します。

積を計算します。

@param other self に掛ける数を指定します。

計算結果の精度についてはlib:bigdecimal#precisionを参照してください。

Bignum#*(other) -> Fixnum | Bignum | Float (18100.0)

算術演算子。積を計算します。

算術演算子。積を計算します。

@param other 二項演算の右側の引数(対象)
@return 計算結果

Fixnum#*(other) -> Fixnum | Bignum | Float (18100.0)

算術演算子。積を計算します。

算術演算子。積を計算します。

@param other 二項演算の右側の引数(対象)
@return 計算結果

絞り込み条件を変える

Matrix#*(m) -> Matrix | Vector (18100.0)

self に行列またはベクトル m を右から乗じた行列を返します。

self に行列またはベクトル m を右から乗じた行列を返します。

m が Vector オブジェクトなら返り値も Vector オブジェクトになります。

@param m 右からの乗算が定義可能な行列やベクトルを指定します。

@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します

Matrix#*(other) -> Matrix (18100.0)

self の各成分に数 other を掛けた行列を返します。

self の各成分に数 other を掛けた行列を返します。

@param other self の各成分に掛ける Numeric オブジェクトを指定します。

OpenSSL::BN#*(other) -> OpenSSL::BN (18100.0)

自身と other の積を返します。

自身と other の積を返します。

@param other かける数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_mul

Rake::FileList#*(other) -> Array | String (18100.0)

Array#* と動作を合わせるために再定義しています。

...Array#* と動作を合わせるために再定義しています。


@see Array#*...

Float#**(other) -> Float (6106.0)

算術演算子。冪を計算します。

...算術演算子。冪を計算します。

@param other 二項演算の右側の引数(対象)

//emlist[例][ruby]{
# 冪
1.2 ** 3.0 # => 1.7279999999999998
3.0 + 4.5 - 1.3 / 2.4 * 3 % 1.2 ** 3.0 # => 5.875
0.0 ** 0 # => 1.0
//}...

絞り込み条件を変える

BigDecimal#**(n) -> BigDecimal (6100.0)

self の n 乗を計算します。

self の n 乗を計算します。

戻り値の有効桁数は self の有効桁数の n 倍以上になります。

@param n selfを other 乗する数を指定します。

@param prec 有効桁数を整数で指定します。


@see Integer#pow
<< < 1 2 3 4 ... > >>