るりまサーチ

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

別のキーワード

  1. openssl cmp
  2. fileutils cmp
  3. bn cmp
  4. name cmp
  5. certificateid cmp

ライブラリ

モジュール

キーワード

検索結果

<< < 1 2 3 >>

bigdecimal/ludcmp (6000.0)

LU 分解を用いて、連立1次方程式 Ax = b の解 x を求める機能を提供します。

LU 分解を用いて、連立1次方程式 Ax = b の解 x を求める機能を提供します。

Ruby のソースコード中の以下のサンプルスクリプトも参考にしてください。

* https://github.com/ruby/ruby/blob/master/ext/bigdecimal/sample/linear.rb

FileUtils.#compare_file(file_a, file_b) -> bool (3013.0)

ファイル file_a と file_b の内容が同じなら真を返します。

...ファイル file_a と file_b の内容が同じなら真を返します。

@param file_a ファイル名。

@param file_b ファイル名。

//emlist[][ruby]{
require 'fileutils'
FileUtils.cmp('somefile', 'somefile') #=> true
FileUtils.cmp('/dev/null', '/dev/urandom') #=> false
//}...

FileUtils.#identical?(file_a, file_b) -> bool (3013.0)

ファイル file_a と file_b の内容が同じなら真を返します。

...ファイル file_a と file_b の内容が同じなら真を返します。

@param file_a ファイル名。

@param file_b ファイル名。

//emlist[][ruby]{
require 'fileutils'
FileUtils.cmp('somefile', 'somefile') #=> true
FileUtils.cmp('/dev/null', '/dev/urandom') #=> false
//}...

OpenSSL::BN#<=>(other) -> -1 | 0 | 1 (1.0)

自身と other を比較し、自身が小さいときには -1、 等しいときには 0、大きいときには 1 を返します。

...new(5) <=> 5 # => 0

OpenSSL::BN.new(5) <=> OpenSSL::BN.new(9) # => -1
OpenSSL::BN.new(5) <=> OpenSSL::BN.new(5) # => 0
OpenSSL::BN.new(5) <=> OpenSSL::BN.new(-5) # => 1
//}

@param other 比較する整数
@raise TypeError 比較できないときに発生します。
@see OpenSSL::BN#ucmp...

OpenSSL::X509::Name#<=>(other) -> -1 | 0 | 1 (1.0)

他の OpenSSL::X509::Name オブジェクトと比較します。

他の OpenSSL::X509::Name オブジェクトと比較します。

自身が other と一致する場合は 0、otherより大きい場合は1、
小さい場合は -1 を返します。

@param other 比較するオブジェクト

絞り込み条件を変える

<< < 1 2 3 >>