るりまサーチ

最速Rubyリファレンスマニュアル検索!
110件ヒット [1-100件を表示] (0.126秒)
トップページ > クエリ:I[x] > クエリ:columns[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. _builtin i
  5. matrix i

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 > >>

IO#winsize -> [Integer, Integer] (26316.0)

端末のサイズを [rows, columns] で返します。

...端末のサイズを [rows, columns] で返します。...

IO.console_size -> [Integer, Integer] (26116.0)

端末のサイズを [rows, columns] で返します。

...端末のサイズを [rows, columns] で返します。

i
o/console が利用できない場合は、IO.default_console_size
の値を返します。

@see IO.default_console_size...

IO.default_console_size -> [Integer, Integer] (26116.0)

デフォルトの端末のサイズを [rows, columns] で返します。

...デフォルトの端末のサイズを [rows, columns] で返します。...

IO#winsize=(size) (26106.0)

端末のサイズを設定します。

...端末のサイズを設定します。

@param size [rows, columns] を数値の配列で指定します。

効果はプラットフォームや環境に依存します。...

Matrix.columns(columns) -> Matrix (21330.0)

引数 columns を列ベクトルの集合とする行列を生成します。

... columns を列ベクトルの集合とする行列を生成します。

@param columns 配列の配列を渡します。

=== 注意

Matrix.rows との違いは引数として渡す配列の配列を列ベクトルの配列とみなして行列を生成します。

//emlist[例][ruby]{
require '...
...matrix'

a1 = [1, 2, 3]
a2 = [4, 5, 6]
a3 = [-1, -2, -3]

# 配列を行ベクトルとして生成
m = Matrix.rows([a1, a2, a3], true)
p m # => Matrix[[1, 2, 3], [4, 5, 6], [-1, -2, -3]]
# 行列としてのイメージ => [ 1, 2, 3]
# [ 4, 5, 6]
#...
...[-1, -2, -3]

# 配列を列ベクトルとして生成
m = Matrix.columns([a1, a2, a3])
p m # => Matrix[[1, 4, -1], [2, 5, -2], [3, 6, -3]]
# 行列としてのイメージ => [1, 4, -1]
# [2, 5, -2]
# [3, 6, -3]
//}...

絞り込み条件を変える

Readline.set_screen_size(rows, columns) -> Readline (6223.0)

端末のサイズを引数 row、columns に設定します。

...ズを引数 row、columns に設定します。

@param rows 行数を整数で指定します。

@param columns 列数を整数で指定します。

@raise NotImplementedError サポートしていない環境で発生します。

@see GNU Readline ライブラリの rl_set_screen_size 関数...

Rake.application -> Rake::Application (6206.0)

現在の Rake アプリケーションを返します。

...

//emlist[][ruby]{
# Rakefile での記載例とする

require 'pp'

task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end

# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @...
...0b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope...
...=LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
# @terminal_columns=0,
# @top_level_tasks=["default"],
# @tty_output=false>
//}...

Readline.get_screen_size -> [Integer, Integer] (6116.0)

端末のサイズを [rows, columns] で返します。

...端末のサイズを [rows, columns] で返します。

@raise NotImplementedError サポートしていない環境で発生します。

@see GNU Readline ライブラリの rl_get_screen_size 関数...

Rake.application=(app) (6106.0)

現在の Rake アプリケーションをセットします。

...plication のインスタンスを指定します。

//emlist[][ruby]{
# Rakefile での記載例とする

require 'pp'

task default: :test_rake_app
task :test_rake_app do
app = Rake::Application.new
app.tty_output = true
Rake.application = app
pp Rake.application
end

# => #<Rake::Applic...
...ation:0x00005624e6c30eb8
# @default_loader=#<Rake::DefaultLoader:0x00005624e6c30cd8>,
# @imported=[],
# @last_description=nil,
# @loaders=
# {".rb"=>#<Rake::DefaultLoader:0x00005624e6c30bc0>,
# ".rf"=>#<Rake::DefaultLoader:0x00005624e6c30b48>,
# ".rake"=>#<Rake::Defa...
..., trace_output=#<IO:<STDERR>>, trace_rules=false>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile=nil,
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks={},
# @terminal_columns=0,
# @top_l...

Matrix.empty(row_size=0, column_size=0) -> Matrix (3206.0)

要素を持たない行列を返します。

...ize 、 column_size のいずれか一方は0である必要があります。

//emlist[例][ruby]{
require 'matrix'
m = Matrix.empty(2, 0)
m == Matrix[ [], [] ]
# => true
n = Matrix.empty(0, 3)
n == Matrix.columns([ [], [], [] ])
# => true
m * n
# => Matrix[[0, 0, 0], [0, 0, 0]]
//}

@param row_si...
...ze 行列の行数
@param column_size 行列の列数
@raise ArgumentError row_size, column_size が両方とも0でない場合に発生します...

絞り込み条件を変える

<< 1 2 > >>