<commit_before>﻿using MathNet.Numerics.LinearAlgebra;

namespace MathNet.Numerics.Optimization.ObjectiveFunctions
{
    public abstract class LazyObjectiveFunctionBase : IObjectiveFunction
    {
        Vector<double> _point;

        bool _hasFunctionValue;
        double _functionValue;

        bool _hasGradientValue;
        Vector<double> _gradientValue;

        bool _hasHessianValue;
        Matrix<double> _hessianValue;
<commit_msg>Optimization: Changes to LazyObjectiveFunctionBase<commit_after>﻿using MathNet.Numerics.LinearAlgebra;

namespace MathNet.Numerics.Optimization.ObjectiveFunctions
{
    public abstract class LazyObjectiveFunctionBase : IObjectiveFunction
    {
        Vector<double> _point;

        protected bool _hasFunctionValue;
        protected double _functionValue;

        protected bool _hasGradientValue;
        protected Vector<double> _gradientValue;

        protected bool _hasHessianValue;
        protected Matrix<double> _hessianValue;

{'fraction_non_alphanumeric': 0.05380710659898477, 'fraction_numerical': 0.0, 'mean_word_length': 3.7403846153846154, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3958485', 'n_tokens_mistral': 276, 'n_tokens_neox': 256, 'n_words': 55}