Click or drag to resize
Accord.NET (logo)

ToolsMod Method (Int32, Int32)

Gets the proper modulus operation for an integer value x and modulo m.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static int Mod(
	int x,
	int m
)
Request Example View Source

Parameters

x
Type: SystemInt32
m
Type: SystemInt32

Return Value

Type: Int32
See Also