Ags.SolverMatrix

g Ags.SolverMatrix Ags.SolverMatrix GObject.Object GObject.Object GObject.Object->Ags.SolverMatrix

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

eliminate (nth_column, nth_row_a, nth_row_b)

get_column_count ()

get_row_count ()

get_source_function ()

insert_vector (solver_vector, position)

parse (source_function)

remove_vector (solver_vector)

set_source_function (source_function)

solve_default ()

to_string ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

column-count

int

r

The column count this solver matrix has in term table

row-count

int

r

The row count this solver matrix has in term table

solver-path

int

r/w

The solver path

source-function

str

r/w

The source function this solver matrix is derived from

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

column_count

int

r

flags

int

r

function_history

str

r

gobject

GObject.Object

r

obj_mutex

GLib.RecMutex

r

row_count

int

r

solver_path

[object]

r

source_function

str

r

term_table

Ags.SolverVector

r

Class Details

class Ags.SolverMatrix(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Ags.SolverMatrixClass

classmethod new()
Returns:

the new instance

Return type:

Ags.SolverMatrix

Instantiate a new Ags.SolverMatrix.

New in version 3.0.0.

eliminate(nth_column, nth_row_a, nth_row_b)
Parameters:
  • nth_column (int) – the nth column

  • nth_row_a (int) – the nth row as a

  • nth_row_b (int) – the nth row as b

Eliminate one column of self.

New in version 3.9.3.

get_column_count()
Return type:

int

get_row_count()
Returns:

the row count

Return type:

int

Get row count of self.

New in version 3.9.3.

get_source_function()
Returns:

the column count

Return type:

str

Get column count of self.

New in version 3.9.3.

insert_vector(solver_vector, position)
Parameters:

Insert solver_vector to self.

New in version 3.2.0.

parse(source_function)
Parameters:

source_function (str) – the normalized source function

Parse source_function and apply to self.

New in version 3.9.3.

remove_vector(solver_vector)
Parameters:

solver_vector (Ags.SolverVector) – the Ags.SolverVector

Remove solver_vector from self.

New in version 3.2.0.

set_source_function(source_function)
Parameters:

source_function (str) – the source function

Set source_function of self.

New in version 3.9.3.

solve_default()

Default solve.

New in version 5.3.4.

to_string()
Returns:

the new string representation

Return type:

str

To string of self.

New in version 5.5.1.

Property Details

Ags.SolverMatrix.props.column_count
Name:

column-count

Type:

int

Default Value:

0

Flags:

READABLE

The column count of the term table.

New in version 3.9.3.

Ags.SolverMatrix.props.row_count
Name:

row-count

Type:

int

Default Value:

0

Flags:

READABLE

The row count of the term table.

New in version 3.9.3.

Ags.SolverMatrix.props.solver_path
Name:

solver-path

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE

The assigned solver path.

New in version 6.7.1.

Ags.SolverMatrix.props.source_function
Name:

source-function

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The assigned source-function.

New in version 3.9.3.