mathlib.cs

来自「In the previous article, we presented an」· CS 代码 · 共 34 行

CS
34
字号
using System;

namespace ServiceRanking
{
	/// <summary>
	/// Summary description for MathLib.
	/// </summary>
	public class MathLib
	{
		public MathLib()
		{
			//
			// TODO: Add constructor logic here
			//
		}

		public static int Min3(int a, int b, int c)
		{
			return System.Math.Min(System.Math.Min(a, b), c);			
		}

		public static float Max3(float a, float b, float c)
		{
            return System.Math.Max(System.Math.Max(a, b), c);			
		}


        public static float Max(SyntacticSimilarity syntac, float tf_idf)
        {
            throw new Exception("The method or operation is not implemented.");
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?