Пример #1
0
        public FunctionPolynomial getDeformationFunctionY(float l, float k, float N, float Y, bool start, int hyperstatism)
        {
            GetDeformationFunctionArgs getDeformationFunctionArgs = this.getDeformationFunction(hyperstatism);

            float[] deformationFunctionArgs = getDeformationFunctionArgs(l, k, N, Y, start);
            for (int i = 0; i < deformationFunctionArgs.Length; i++)
            {
                deformationFunctionArgs[i] = -deformationFunctionArgs[i];
            }
            return(new FunctionPolynomial(deformationFunctionArgs));
        }
Пример #2
0
        private FunctionPolynomial getDeformationFunctionZ(float l, float k, float M, float Z, bool start, int hyperstatism)
        {
            GetDeformationFunctionArgs getDeformationFunctionArgs = this.getDeformationFunction(hyperstatism);

            float[] deformationFunctionArgs = getDeformationFunctionArgs(l, k, M, Z, start);

            /*
             * for (int i = 0; i < deformationFunctionArgs.Length; i++)
             * {
             *  deformationFunctionArgs[i] = -deformationFunctionArgs[i];
             * }
             */
            return(new FunctionPolynomial(deformationFunctionArgs));
        }