ライブラリ
- ビルトイン (20)
-
bigdecimal
/ jacobian (12) -
bigdecimal
/ ludcmp (24) -
drb
/ acl (12) - getoptlong (60)
-
minitest
/ unit (2) - openssl (24)
- optparse (168)
-
rubygems
/ dependency _ list (12)
クラス
- ACL (12)
- Exception (8)
-
Gem
:: DependencyList (12) - GetoptLong (60)
-
MiniTest
:: Unit :: TestCase (2) -
OpenSSL
:: PKey :: EC :: Group (24) - OptionParser (144)
- Thread (12)
モジュール
- Jacobian (12)
- LUSolve (24)
-
OptionParser
:: Arguable (24)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (5) - ORDERINGS (12)
-
REQUIRE
_ ORDER (12) -
RETURN
_ IN _ ORDER (12) -
bigdecimal
/ jacobian (12) -
dependency
_ order (12) - getoptlong (12)
-
handle
_ interrupt (12) - jacobian (12)
- ludecomp (12)
- lusolve (12)
- new (12)
- optparse (12)
- order! (48)
- ordering (12)
- ordering= (12)
- parse (24)
- parse! (12)
- permute (24)
- permute! (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
set
_ generator (12) -
test
_ methods (1) -
test
_ order (1)
検索結果
先頭5件
-
Exception
# full _ message(highlight: true , order: :bottom) -> String (107.0) -
例外の整形された文字列を返します。
...装飾をつけるかどうかを指定します。
デフォルト値は Exception.to_tty? の返り値と同じです。
@param order :top か :bottom で指定する必要があります。
バックトレースの一番奥がエラーメッセージの上(top)か... -
OpenSSL
:: PKey :: EC :: Group # set _ generator(generator , order , cofactor) -> self (107.0) -
群のパラメータを設定します。
...群のパラメータを設定します。
@param generator 生成元(OpenSSL::PKey::EC::Point オブジェクト)
@param order 生成元の位数(OpenSSL::BN オブジェクト)
@param cofactor 余因子OpenSSL::BN オブジェクト
@raise OpenSSL::PKey::EC::Group::Error 設定に失敗した場... -
getoptlong (36.0)
-
getoptlong は、GNU の getopt_long() とまったく同じ方式でコマンド 行オプションの解析を行う Ruby のライブラリです。
...(ordering)
GNU getopt_long() および getoptlong.rb には、`REQUIRE_ORDER',
`PERMUTE', `RETURN_IN_ORDER' という、3 つの「順序形式」が用
意されています。それぞれの処理形式は、非オプション引数についての扱い方
が異なります。
* REQUIRE_ORDER:......えプログラム側でそうなることを期待しなく
ても、そうなります。この方式がデフォルトです。
* RETURN_IN_ORDER:
オプションと他の非オプション引数はどんな順序で並んでも良いが、お互いの
順序は保持したままに......。
=== POSIXLY_CORRECT
環境変数 POSIXLY_CORRECT が定義されていると、処理形式に `PERMUTE' を
選択していても、REQUIRE_ORDER 形式で処理されます。
=== 使い方
あなたの作ったプログラムのヘルプメッセージが、次のようになってい... -
optparse (36.0)
-
コマンドラインのオプションを取り扱うためのライブラリです。
...mplete'
from /usr/local/lib/ruby/1.9/optparse.rb:1287:in `order!'
from /usr/local/lib/ruby/1.9/optparse.rb:1256:in `catch'
from /usr/local/lib/ruby/1.9/optparse.rb:1256:in `order!'
from /usr/local/lib/ruby/1.9/optparse.rb:1336:in `permu......gument)
from /usr/local/lib/ruby/1.9/optparse.rb:1295:in `order!'
from /usr/local/lib/ruby/1.9/optparse.rb:1256:in `catch'
from /usr/local/lib/ruby/1.9/optparse.rb:1256:in `order!'
from /usr/local/lib/ruby/1.9/optparse.rb:1336:in `permu......('-i') { puts "list -i" }
parser.order!(ARGV)
subparsers[ARGV.shift].parse!(ARGV) unless ARGV.empty?
//}
実行すると以下のようになります。
$ ruby subcom.rb -i add -i
-i
add -i
$ ruby subcom.rb list -i
list -i
OptionParser#order! がオプションではない... -
Jacobian
. # jacobian(f , fx , x) -> [Numeric] (6.0) -
ヤコビ行列を計算します。
...を求める点 x にあたるベクトルを数値の配列で指定します。
@return ヤコビ行列を返します。(各要素を Row-major order で 1 次元の配列
にしたオブジェクトを指定します)
@raise RuntimeError 計算結果が特異ヤコビ行列になった... -
LUSolve
. # ludecomp(a , n , zero = 0 , one = 1) -> [Integer] (6.0) -
n 次正方行列を表す配列 a を破壊的に変更し、返り値と併せて元の行列の LU 分解を提供します。
...olve の引数を構築するために使います。
@param a 行列を BigDecimal の配列で指定します。(各要素を
Row-major order で 1 次元の配列にしたオブジェクトを指定し
ます)
@param n 引数 a の次元を整数で指定します。
@param z... -
LUSolve
. # lusolve(a , b , ps , zero = 0 . 0) -> [BigDecimal] (6.0) -
LU 分解を用いて、連立1次方程式 Ax = b の解 x を求めて返します。
...方程式 Ax = b の解 x を求めて返します。
@param a 行列を BigDecimal の配列で指定します。
各要素を Row-major order で並べて 1 次元の配列にし、
LUSolve.#ludecomp で変換したものを指定します。
@param b ベクトルを BigDecimal... -
MiniTest
:: Unit :: TestCase . test _ methods -> Array (6.0) -
テストメソッドのリストを返します。
...テストメソッドのリストを返します。
MiniTest::Unit::TestCase.test_order の値が :random である場合は
返されるメソッドリストの順番はランダムです。
そうでない場合は、文字コード順にソートされます。... -
NEWS for Ruby 2
. 0 . 0 (6.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...llows client applications to detect whether OpenSSL
is FIPS-enabled. OpenSSL.fips_mode= allows turning on and off FIPS mode
manually in order to adapt to situations where FIPS mode would be an
explicit requirement.
* Authenticated Encryption with Associated Data (AEAD) is suppo... -
NEWS for Ruby 2
. 4 . 0 (6.0) -
NEWS for Ruby 2.4.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...m/ruby/openssl に分離されましたが、デフォルトGemとして残っています。
* optparse
* OptionParser#parseやOptionParser#orderにキーワード引数 into を追加 11191
* pathname
* Pathname#empty? を追加 12596
* readline
* Readline.quoting_detection_pr... -
NEWS for Ruby 2
. 6 . 0 (6.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...に変換できるようになりました。 15143
* Exception
* 新規オプション
* Exception#full_message が :highlight と :order を受け付けるようになりました。 14324
* Hash
* 変更されたメソッド
* Hash#merge, Hash#merge!, Hash#update が引...